<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ResultDTO</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint lang-java">
public class ResultDTO implements Serializable{

    private boolean success; //
    private SysAnnouncement[] data; //
    private int code; //
    private String message; //

    public boolean getSuccess(){
        return success;
    }

    public void setSuccess(boolean success){
        this.success = success;
    }

    public SysAnnouncement[] getData(){
        return data;
    }

    public void setData(SysAnnouncement[] data){
        this.data = data;
    }

    public int getCode(){
        return code;
    }

    public void setCode(int code){
        this.code = code;
    }

    public String getMessage(){
        return message;
    }

    public void setMessage(String message){
        this.message = message;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class SysAnnouncement implements Serializable{

    private long id; //id
    private String title; //标题
    private String ranges; //发布范围
    private byte isShowScreen; //是否大屏显示
    private String content; //内容
    private String validity; //有效期
    private String releaseTime; //发布时间
    private long companyId; //公司ID
    private int status; //删除标志（0代表存在 1代表删除）
    private String createTime; //创建时间
    private String updateTime; //最后修改时间

    public long getId(){
        return id;
    }

    public void setId(long id){
        this.id = id;
    }

    public String getTitle(){
        return title;
    }

    public void setTitle(String title){
        this.title = title;
    }

    public String getRanges(){
        return ranges;
    }

    public void setRanges(String ranges){
        this.ranges = ranges;
    }

    public byte getIsShowScreen(){
        return isShowScreen;
    }

    public void setIsShowScreen(byte isShowScreen){
        this.isShowScreen = isShowScreen;
    }

    public String getContent(){
        return content;
    }

    public void setContent(String content){
        this.content = content;
    }

    public String getValidity(){
        return validity;
    }

    public void setValidity(String validity){
        this.validity = validity;
    }

    public String getReleaseTime(){
        return releaseTime;
    }

    public void setReleaseTime(String releaseTime){
        this.releaseTime = releaseTime;
    }

    public long getCompanyId(){
        return companyId;
    }

    public void setCompanyId(long companyId){
        this.companyId = companyId;
    }

    public int getStatus(){
        return status;
    }

    public void setStatus(int status){
        this.status = status;
    }

    public String getCreateTime(){
        return createTime;
    }

    public void setCreateTime(String createTime){
        this.createTime = createTime;
    }

    public String getUpdateTime(){
        return updateTime;
    }

    public void setUpdateTime(String updateTime){
        this.updateTime = updateTime;
    }

}
</pre>



<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>